<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>网络五子棋对战游戏</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Microsoft YaHei', sans-serif;
        }
        
        body {
            background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
            height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            color: white;
            overflow: hidden;
        }
        
        .game-title {
            font-size: 3.5rem;
            margin-bottom: 2rem;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
            text-align: center;
        }
        
        .game-description {
            font-size: 1.2rem;
            margin-bottom: 3rem;
            max-width: 600px;
            text-align: center;
            line-height: 1.6;
        }
        
        .start-button {
            padding: 15px 50px;
            font-size: 1.5rem;
            background: linear-gradient(45deg, #ff8a00, #e52e71);
            border: none;
            border-radius: 50px;
            color: white;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        }
        
        .start-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 7px 20px rgba(0, 0, 0, 0.3);
        }
        
        .chess-piece {
            position: absolute;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            opacity: 0.7;
            animation: float 6s infinite ease-in-out;
        }
        
        .black-piece {
            background: radial-gradient(circle at 30% 30%, #333, #000);
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
        }
        
        .white-piece {
            background: radial-gradient(circle at 30% 30%, #fff, #ddd);
            box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
        }
        
        @keyframes float {
            0%, 100% { transform: translateY(0) rotate(0deg); }
            50% { transform: translateY(-20px) rotate(180deg); }
        }
        
        .footer {
            position: absolute;
            bottom: 20px;
            font-size: 0.9rem;
            opacity: 0.7;
        }
    </style>
</head>
<body>
    <div class="game-title">在线五子棋对战</div>
    <div class="game-description">
        随机匹配玩家进行五子棋对战
    </div>
    <button class="start-button" onclick="location.href='/login.html'">开始游戏</button>
    
    <div class="footer">© 2025 在线五子棋对战</div>
    
    <script>
        // 创建漂浮的棋子背景
        function createFloatingPieces() {
            const container = document.body;
            const colors = ['black-piece', 'white-piece'];
            
            for (let i = 0; i < 15; i++) {
                const piece = document.createElement('div');
                piece.classList.add('chess-piece');
                piece.classList.add(colors[Math.floor(Math.random() * colors.length)]);
                
                // 随机位置
                const left = Math.random() * 100;
                const top = Math.random() * 100;
                const size = 20 + Math.random() * 30;
                const delay = Math.random() * 5;
                
                piece.style.left = `${left}%`;
                piece.style.top = `${top}%`;
                piece.style.width = `${size}px`;
                piece.style.height = `${size}px`;
                piece.style.animationDelay = `${delay}s`;
                
                container.appendChild(piece);
            }
        }
        
        createFloatingPieces();
    </script>
</body>
</html>